const view={
    async init(){
        // 启动 Puppeteer
        await this.startPuppeteer()
        try {
            // await this.updateAll()
            await this.buildAll()
        }catch (e){
            console.error(e)
        }
        await this.toString()
        console.log('上传任务结束')
    },
    test(params){
        console.log('测试')
        return params+2
    },
    test2:function (){
        console.log('测试')
        return this.userInfo
    },
}
module.exports= view